package max.ta.util.conf;



public class SystemConfiguration {

    public static final int DEFAULT_PROXY_PORT = -1;
    private static final ConfigurationLoader LOADER = ConfigurationLoader.getInstance();



    public static String getProxyHost() {
	return LOADER.getProperty("proxy.host");
    }

    public static int getProxyPort() {
	String port = LOADER.getProperty("proxy.port");
	return port != null ? Integer.valueOf(port) : DEFAULT_PROXY_PORT;
    }


    public static String getRootDir() {
	return LOADER.getProperty("download.root.dir");
    }

    public static String getYahooCompleteURL() {
	return LOADER.getProperty("yahoo.url.complete");
    }
}
